package com.project.controller;

import com.Entity.DzmHisCareRefundlogEntity;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import wt.ZsszService;

import java.util.List;
import java.util.Map;

@RestController
@CrossOrigin(value={"*"},allowCredentials = "true")
public class ZsszController {
    @Reference
    private ZsszService service;

    @RequestMapping("Findzssz")
    public Object Findzssz(Integer type_id,String status,String addtime,String adddate){
        List<Map<String,Object>> zssz = service.Findzssz(type_id,status,addtime,adddate);
        return zssz;
    }


    @RequestMapping("getRefund")
    public Object getRefund(Integer type_id,String status,String addtime,String adddate){
        List<DzmHisCareRefundlogEntity> Refund = service.getRefund();
        return Refund;
    }
}
